<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<link rel="stylesheet" type="text/css" crossorigin="anonymous" href="./css/bootstrap.css"/>
	<script type="text/javascript" src="./axios.min.js"></script>
	<script type="text/javascript" src="./vue.js"></script>
</head>
<body>
	<div class="container">
		<h2 id="demo" class="page-header">基本使用Hello, {{name}} {{Date.now()}}</h2>
		<button class="btn btn-primary">发送请求</button>
	</div>
</body>
<script>
	const btns = document.querySelectorAll('button');
	btns[0].onclick = function() {
		axios({
			method: 'GET',
			url: 'http://116.62.185.204/'
		}).then(res=>{console.log(res);})
	}
	new Vue({
		el: '#demo',
		data: {
			name: "World"
		}
	})
</script>
</html>